package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成本利润分析对象 profit
 * 
 * @author LP
 * @date 2023-04-04
 */
public class Profit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 材料费 */
    @Excel(name = "材料费")
    private String materialCost;

    /** 人工费 */
    @Excel(name = "人工费")
    private String laborCost;

    /** 物流费用 */
    @Excel(name = "物流费用")
    private String logisticsFreight;

    /** 加油费 */
    @Excel(name = "加油费")
    private String fuelCharge;

    /** 办公费用 */
    @Excel(name = "办公费用")
    private String officeExpenses;

    /** 其他费用 */
    @Excel(name = "其他费用")
    private String otherExpenses;

    /** 小计 */
    @Excel(name = "小计")
    private String subtotal;

    /** 利润率 */
    @Excel(name = "利润率")
    private String profitMargin;

    /** 净利润 */
    @Excel(name = "净利润")
    private String netProfit;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMaterialCost(String materialCost) 
    {
        this.materialCost = materialCost;
    }

    public String getMaterialCost() 
    {
        return materialCost;
    }
    public void setLaborCost(String laborCost) 
    {
        this.laborCost = laborCost;
    }

    public String getLaborCost() 
    {
        return laborCost;
    }
    public void setLogisticsFreight(String logisticsFreight) 
    {
        this.logisticsFreight = logisticsFreight;
    }

    public String getLogisticsFreight() 
    {
        return logisticsFreight;
    }
    public void setFuelCharge(String fuelCharge) 
    {
        this.fuelCharge = fuelCharge;
    }

    public String getFuelCharge() 
    {
        return fuelCharge;
    }
    public void setOfficeExpenses(String officeExpenses) 
    {
        this.officeExpenses = officeExpenses;
    }

    public String getOfficeExpenses() 
    {
        return officeExpenses;
    }
    public void setOtherExpenses(String otherExpenses) 
    {
        this.otherExpenses = otherExpenses;
    }

    public String getOtherExpenses() 
    {
        return otherExpenses;
    }
    public void setSubtotal(String subtotal) 
    {
        this.subtotal = subtotal;
    }

    public String getSubtotal() 
    {
        return subtotal;
    }
    public void setProfitMargin(String profitMargin) 
    {
        this.profitMargin = profitMargin;
    }

    public String getProfitMargin() 
    {
        return profitMargin;
    }
    public void setNetProfit(String netProfit) 
    {
        this.netProfit = netProfit;
    }

    public String getNetProfit() 
    {
        return netProfit;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialCost", getMaterialCost())
            .append("laborCost", getLaborCost())
            .append("logisticsFreight", getLogisticsFreight())
            .append("fuelCharge", getFuelCharge())
            .append("officeExpenses", getOfficeExpenses())
            .append("otherExpenses", getOtherExpenses())
            .append("subtotal", getSubtotal())
            .append("profitMargin", getProfitMargin())
            .append("netProfit", getNetProfit())
            .append("remarks", getRemarks())
            .toString();
    }
}
